﻿using AutoStar.ViewModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;

namespace AutoStar.Views.Pages
{
    /// <summary>
    /// PrintChannelView.xaml 的交互逻辑
    /// </summary>
    public partial class PrintChannelView : Page
    {
        private PrintChannelVM VM;
        public PrintChannelView()
        {
            InitializeComponent();
            //VM = new PrintChannelVM();
            //DataContext = VM;
            DataContext = Global.PrintChannelVM;
        }

        private void Page_SizeChanged(object sender, SizeChangedEventArgs e)
        {
            this.FontSize = e.NewSize.Width / 70;
        }
    }
}
